<?php
use zhtfrontend\assets\AppAsset;
use yii\helpers\Html;
AppAsset::register($this);
\dmstr\web\AdminLteAsset::register($this);
$directoryAsset = Yii::$app->assetManager->getPublishedUrl('@vendor/almasaeed2010/adminlte/dist');
$this->title = '豆苗朵文化教育集团有限公司';
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <?= Html::csrfMetaTags() ?>
    <?php $this->head() ?>
    <title><?= Html::encode($this->title) ?></title>
    <style>
        .logo h1{margin: 0}
        .content-wrapper, .right-side, .main-footer{margin-left: 0;border-top:0}
        .yx-praise-list-box{border: 0}
    </style>
</head>
<body class='zx-dialog-bg'>
<?php $this->beginBody() ?>
<div class="wrapper">
<?= $this->render(
    'header.php',
    ['directoryAsset' => $directoryAsset]
) ?>
<?=$content;?>
<footer class="main-footer">
    <div class="pull-right hidden-xs">
        <b>Version</b> 2.0
    </div>
    <strong>版权所有： &copy; 2014-2016 <a>豆苗朵文化教育集团有限公司</a>.</strong>
</footer>
</div>

<?php $this->endBody() ?>

</body>
</html>
<?php
$js = <<<JS
    var clientHeight = $(window).height()-150;
// alert(clientHeight);
    $('.yx-praise-box').css('min-height',clientHeight+'px')
JS;
$this->registerJs($js);
?>
<?php $this->endPage() ?>

